import ajax from "./ajax/axios";

export default {
  list: function(data) {
    return ajax({
      url: "/staff_device_app/device_list",
      method: "post",
      data: data
    });
  },
  bind: function(data) {
    return ajax({
      url: "/staff_device_app/bind",
      method: "post",
      data: data
    });
  },
  unbind: function(data) {
    return ajax({
      url: "/staff_device_app/unbind/",
      method: "post",
      data: data
    });
  }
};
